package com.ejuornal.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.ejuornal.dao.RolePermissionDao;
import com.ejuornal.service.RolePermissionService;
@Component("rolePermissionService")
public class RolePermissionServiceImpl implements RolePermissionService{
    private RolePermissionDao rps;
   
    @Override
    public boolean delete(int pid) {
        return rps.del(pid);
    }
    
    public RolePermissionDao getRps() {
        return rps;
    }
    @Resource(name="rolePermissionDao")
    public void setRps(RolePermissionDao rps) {
        this.rps = rps;
    }
}
